export default {
    namespaced: true,
    state: {
        // 是否登录
        isLogined: localStorage.getItem('x-auth-token') ? true : false
    },
    mutations: {
        // 控制状态是否已登录
        changeIsLogin(state, payload) {
            state.isLogined = payload
        }
    },
    actions: {

    }
}